<form id="form" action="{:url('setting/article')}">
<div class="titlebar"><i class="iconfont icon-text_icon"></i>分享文案</div> 
<table class="formtable">
    <tr><th>分享标题:</th><td><input class="input w500" datatype="*" type="text" name="shore_text" value="{$article.shore_text ?? ''}" /></td></tr>
    <tr><th>分享图片:</th><td><input readonly class="input w500 selectid" url="{:url('system/passport.common/upload')}" id="shore_img" name="shore_img" value="{$article.shore_img ?? ''}" /></td></tr>
</table>
<div class="titlebar"><i class="iconfont icon-text_icon"></i>商户号申请码</div>
<table class="formtable">
    <tr><th>提示文案:</th><td><input class="input w500" datatype="*" type="text" name="mch_text" value="{$article.mch_text ?? ''}" /></td></tr>
    <tr><th>申请二维码:</th><td><input readonly class="input w500 selectid" url="{:url('system/passport.common/upload')}" id="mch_qrcode" name="mch_qrcode" value="{$article.mch_qrcode ?? ''}" /></td></tr>
</table>
<table class="formtable">
    <tr><th></th><td><input type="submit" value="确定" class="button button-blue submit" /><input type="reset" value="重置" class="button button-blank" /></td></tr>
</table> 
</form>
<script type="text/javascript">
Do('base', 'layer', 'form', function () {
    $('#form').isForm();
    $(".selectid").win();
})
function shore_img(show_src){$("#shore_img").val(show_src);}
function mch_qrcode(show_src){$("#mch_qrcode").val(show_src);}
</script>